﻿namespace Finance.Data.Entities
{
	public interface IContractor : IDataBaseObject
	{
		string Name { get; set; }
		string Description { get; set; }
	}

	public class Contractor : DataBaseObject, IContractor
	{
		public string Description { get; set; }
		public string Name { get; set; }

		public Contractor(DataBaseObjectCollection parentCollection) : base(parentCollection)
		{
		}
        
		public override string ToString()
		{
			return Name;
		}
	}
}
